package com.xjrsoft.module.customerTwo.barin.barinFunctionalSubassembly.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xjrsoft.module.customerTwo.barin.barinFunctionalSubassembly.entity.TBarinFunctionalSubassembly;
import com.xjrsoft.module.customerTwo.barin.barinFunctionalSubassembly.dto.TBarinFunctionalSubassemblyListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.customerTwo.barin.barinFunctionalSubassembly.vo.TBarinFunctionalSubassemblyListVo;

/**
 *  服务类
 *
 * @author dongxinhang
 * @since 2024-04-25
 */
public interface ITBarinFunctionalSubassemblyService extends IService<TBarinFunctionalSubassembly> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<TBarinFunctionalSubassembly> getPageList(TBarinFunctionalSubassemblyListDto pageListDto);
	boolean addTBarinFunctionalSubassembly(TBarinFunctionalSubassembly tBarinFunctionalSubassembly);

	boolean updateTBarinFunctionalSubassembly(String id, TBarinFunctionalSubassembly tBarinFunctionalSubassembly);

	boolean delete(String ids);

	/**
	 * 门户页面组件分页查询
	 * @param dto
	 * @return
	 */
	IPage<TBarinFunctionalSubassemblyListVo> portalSearch(Page page,TBarinFunctionalSubassemblyListDto dto);
}
